import request from '@/utils/request'

// 查询分光度报表列表
export function listFgdreport(query) {
  return request({
    url: '/Laboratory/fgdreport/list',
    method: 'get',
    params: query
  })
}

// 查询分光度报表详细
export function getFgdreport(id) {
  return request({
    url: '/Laboratory/fgdreport/' + id,
    method: 'get'
  })
}

// 新增分光度报表
export function addFgdreport(data) {
  return request({
    url: '/Laboratory/fgdreport',
    method: 'post',
    data: data
  })
}

// 修改分光度报表
export function updateFgdreport(data) {
  return request({
    url: '/Laboratory/fgdreport',
    method: 'put',
    data: data
  })
}
export function checkFgdreport(data) {
  return request({
    url: '/Laboratory/fgdreport/check',
    method: 'put',
    data: data
  })
}
// 删除分光度报表
export function delFgdreport(id) {
  return request({
    url: '/Laboratory/fgdreport/' + id,
    method: 'delete'
  })
}
